//
// Created by huangjunhao on 2022/10/11.
//
#include "stack.h"


//typedef int Status;
//Status InitStack(SqStack* S);
//
////可返回状态1 确保真正初始化成功
//Status InitStack(SqStack* S)//构造一个空栈
//{
//    S->base = (SElemType*)malloc(100* sizeof(SElemType));
//    if (!S->base) exit(-1);
//    S->top = S->base;
//    S->stacksize = 100;
//    return 1;
//}